package com.project.bean;

import java.time.LocalDate;
import java.util.List;

public class EmployeeBean {
    private Integer id;
    private String name;
    private LocalDate birthday;
    //入职日期
    private LocalDate joindate=LocalDate.now();
    //专长
    private String specialty;
    private String status = "在职";
    //工资
    private int wages;
    private String phone;
    private String head;
    private List<ProgressBean> progressList;

    public EmployeeBean(String name, LocalDate birthday, LocalDate joindate, String specialty, String status, int wages, String phone, String head) {
        this.name = name;
        this.birthday = birthday;
        this.joindate = joindate;
        this.specialty = specialty;
        this.status = status;
        this.wages = wages;
        this.phone = phone;
        this.head = head;
    }

    public EmployeeBean() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public LocalDate getJoindate() {
        return joindate;
    }

    public void setJoindate(LocalDate joindate) {
        this.joindate = joindate;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getWages() {
        return wages;
    }

    public void setWages(int wages) {
        this.wages = wages;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    @Override
    public String toString() {
        return "EmployeeBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", birthday=" + birthday +
                ", joindate=" + joindate +
                ", specialty='" + specialty + '\'' +
                ", status='" + status + '\'' +
                ", wages=" + wages +
                ", phone='" + phone + '\'' +
                ", head='" + head + '\'' +
                '}';
    }
}
